home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Assassins - Ultimate CD Games Collection 2
/
Assassins 2 - Ultimate Games No. 2 (1995)(Weird Science)[!][Amiga-CD32-CDTV].iso
/
misc
/
kids_disk_2
/
over_to
/
over_to.amosSourceCode
< prev
next >
Wrap
AMOS Source Code
|
1994-01-24
|
3KB
|
134 lines
Global RD$,MZ,LF
MEANY
Procedure MEANY
If Not Exist("df0:else") Then BOMB
Volume 10
Unpack 9 To 0
For N=16 To 12 Step -1
Play 2*N,N/4
Next N
Flash Off : Curs Off
F$="(fff,10)(f00,10)(ff0,10)(00f,10)(0f0,10)(f0f,10)"
Colour 17,$444
Colour 18,$777
Colour 19,$FFF
Reserve Zone 5 : Wait Vbl : Limit Mouse
Set Zone 1,22,21 To 61,49
Set Zone 2,200,22 To 282,61
Set Zone 3,17,124 To 97,187
Set Zone 4,121,126 To 213,187
Set Zone 5,224,127 To 306,187
LF=0
X Mouse=405 : Y Mouse=83
HERE:
Repeat
Show On
MZ=Mouse Zone
A$=Inkey$
SC=Scancode
If SC=95 Then TEXY
If MZ<>LF and MZ>0
Wait Vbl
Flash Off
If LF>0
Colour LF+2,$0
End If
LF=MZ
Flash LF+2,F$
For N=12 To 16
Play MZ*N,N/3
Next N
End If
Until Mouse Click and MZ>0
If MZ=1
For N=20 To 5 Step -2
Play N*2,8-(N/5)
Next N
End
End If
If MZ=2 Then TEXY : Goto HERE
Cls 0
MZ=LF
Paste Icon 100,100,1
If MZ=3 Then Run "princess.amos"
If MZ=4 Then Run "bs.amos"
If MZ=5 Then Run "totris.AMOS"
End Proc
Procedure TEXY
Colour 1,$F0
Colour 2,$F00
If MZ<2 Then RD$="df0:docs/help.doc"
If MZ=2 Then RD$="df0:docs/intro.doc"
If MZ=3 Then RD$="df0:docs/maze.doc"
If MZ=4 Then RD$="df0:docs/beat.doc"
If MZ=5 Then RD$="df0:docs/shape.doc"
REDOC
Colour 2,$F
Colour 1,$FF0
End Proc
Procedure REDOC
SCL=26
If Ntsc Then SCL=20
Screen Open 1,640,256,4,Hires
HERE:
Open In 1,RD$
L=Lof(1)
FLG=0
Paper 2
Pen 0
Curs Off
Cls
C=0
PP=1
Z$=""
Hide
For N=1 To L
X$=Input$(1,1)
Z$=Z$+X$
If Asc(X$)=10
Print " ";
If PR=1
P$=Z$
P=Len(P$) : P$=Left$(P$,P-1)
Lprint P$
End If
Print Z$ : Cup : Inc C : Z$=""
If C=SCL
Print : Centre ">> <<" : Pen 3 : Centre "Click that mouse" : Pen 0 : Print : Print : Centre "Page" : Print PP : Inc PP : Repeat :
Until Mouse Click : Cls : Locate 0,1 : C=0
End If
End If
Next N
Close 1
Print : Print
Centre "click LEFT button to READ this file AGAIN"
Print : Print
Centre "or RIGHT button to QUIT."
Repeat
Until Mouse Click
K=Mouse Key
If K=1 Then Cls : Goto HERE
If K=2
Screen Close 1
Screen 0
End If
Show
End Proc
Procedure BOMB
Break Off
Curs Off : Flash Off
Cls 0 : Paper 0
Locate 0,5
Centre "This is not a complete copy of" : Print
Centre "KIDS DISK - 2" : Print : Print
Centre "Please write to me and let me know" : Print
Centre "where it came from so that I can " : Print
Centre "go round there and sort them out!" : Print : Print
Print " Duncan Moran"
Print " 24 First Avenue, "
Print " Colwyn Bay,"
Print " Clwyd,"
Print " LL28 4DQ "
Do
Loop
End Proc